package com.guoxin.chapter4.reentractlock.trylocktest;

public class Run {
	public static void main(String[] args) {
		final Service service = new Service();
		Runnable runnable = new Runnable() {
			public void run() {
			service.waitMetod();	
			}
		};
		new Thread(runnable,"A").start();
		new Thread(runnable,"B").start();
	}
}
